package com.jeeplus.test.jlnu.student.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jeeplus.test.jlnu.student.domain.entity.BsssStudentResume;
import com.jeeplus.test.tools.resp.R;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BsssStudentResumeService extends IService<BsssStudentResume> {
    BsssStudentResume getBsssStudentResume(String studentId, String flag);

    Boolean bsssStudentResumeUpdate(BsssStudentResume bsssStudentResume);

    //批量新增简历
    R addBsssStudentResume(Map<String, Object> requestData);

    //单个新增简历
    int add(BsssStudentResume bsssStudentResume);

    List<BsssStudentResume> bsssStudentResumeList(@Param("studentId") String studentId);

    int deleteResumeById(int id);

    int updateResumeById(BsssStudentResume bsssStudentResume);

    int batchUpdateByStudentIds(BsssStudentResume bsssStudentResume);

    //履历信息分页查询
    Page<BsssStudentResume> getResumeInfoPage(BsssStudentResume bsssStudentResume,Page<BsssStudentResume> page);

    //屡屡履历信息详情
    BsssStudentResume getStudentResumeByStudentId(BsssStudentResume bsssStudentResume);
}
